package com.tms.mapper.develop;

import com.tms.domain.Type;

import java.util.List;

public interface TypeMapper {

    Type selectByPrimaryKey(int id);

    Type selectByName(String name);

    List<Type> selectAlls();

    void deleteByPrimaryKey(int id);

    void insert(Type type);

    void updateByPrimaryKey(Type type);
}
